public class PersonTest {
    public static void main(String[] args){
        //南方人
        Person p1 = new NorthPerson();
        p1.eat();
        NorthPerson N = (NorthPerson) p1;
        N.eat();
        N.SteamedBuns();
        N.StewedVegetables();
        System.out.println();

        //北方人
        Person p2 = new SouthPerson();
        p2.eat();
        SouthPerson S = (SouthPerson) p2;
        S.eat();
        S.Rice();
        S.StirFry();
    }
}
